﻿using DAL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class FangPrice_BLL
    {
        public FangPrice_BLL(FangPrice_DAL dal)
        {
            Dal = dal;
        }

        public FangPrice_DAL Dal { get; }

        /// <summary>
        /// 房价添加
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        public int Add(FangPrice_Model m)
        {
            return Dal.Add(m);
        }
        /// <summary>
        /// 房价列表s
        /// </summary>
        /// <returns></returns>
        public List<FangPrice_Model> Show()
        {
            return Dal.Show();  
        }



    }

}
